<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of TestFerrari
 *
 * @author damian
 */
class TestCar {
    public $model;
    public $kolor;
    public $marka;
    
    public function jedz()
    {
        echo ' jedzie'.$this->marka.' '.$this->model;
    }
    public function __construct($nazwa,$model='') {
        $this->marka= $nazwa;
        $this->model=$model;
    }
}

?>
